// import Qs from 'qs'
import http from './http'

export default {
    get(url, params){
        http.get(url,params)
            .then(res => {
                return res
            })
            .catch(err => {
                return err
            })
    },
    post(url, params){
        http.post(url,params)
            .then(res => {
                return res
            })
            .catch(err => {
                return err
            })
    }
}

